package com.peress.mycrew.rowing.data;

import com.peress.mycrew.rowing.util.Objects;

public final class RowerBody {

    private int mArmLength;
    private int mShoulderWidth;
    private int mTorsoLength;
    private int mLegLength;

    private int mErgStrokeLength;
    private int mErgCatchDistance;
    private int mErgFinishDistance;
    private int mErgLegsDistance;
    private int mErgBodyDistance;

    public int getArmLength() { return mArmLength; }
    public int getShoulderWidth() { return mShoulderWidth; }
    public int getTorsoLength() { return mTorsoLength; }
    public int getLegLength() { return mLegLength; }

    public int getErgStrokeLength() { return mErgStrokeLength; }
    public int getErgCatchDistance() { return mErgCatchDistance; }
    public int getErgFinishDistance() { return mErgFinishDistance; }
    public int getErgLegsDistance() { return mErgLegsDistance; }
    public int getErgBodyDistance() { return mErgBodyDistance; }

    public void setArmLength(int armLength) {
        mArmLength = armLength;
    }
    public void setShoulderWidth(int shoulderWidth) {
        mShoulderWidth = shoulderWidth;
    }
    public void setTorsoLength(int torsoLength) {
        mTorsoLength = torsoLength;
    }
    public void setLegLength(int legLength) {
        mLegLength = legLength;
    }

    public void setErgStrokeLength(int ergStrokeLength) {
        mErgStrokeLength = ergStrokeLength;
    }
    public void setErgCatchDistance(int ergCatchDistance) {
        mErgCatchDistance = ergCatchDistance;
    }
    public void setErgFinishDistance(int ergFinishDistance) {
        mErgFinishDistance = ergFinishDistance;
    }
    public void setErgLegsDistance(int ergLegsDistance) {
        mErgLegsDistance = ergLegsDistance;
    }
    public void setErgBodyDistance(int ergBodyDistance) {
        mErgBodyDistance = ergBodyDistance;
    }

    @Override
    public String toString() {
        return new Objects.StringHelper("RowerBody")
                .add("armLength", mArmLength)
                .add("shoulderLength", mShoulderWidth)
                .add("torsoLength", mTorsoLength)
                .add("legLength", mLegLength)
                .add("ergStrokeLength", mErgStrokeLength)
                .add("ergCatchDistance", mErgCatchDistance)
                .add("ergFinishDistance", mErgFinishDistance)
                .add("ergLegsDistance", mErgLegsDistance)
                .add("ergBodyDistance", mErgBodyDistance)
                .toString();
    }
}
